package org.cogaen.net;

import java.net.SocketAddress;
import java.nio.ByteBuffer;

public interface Peer {
	
	public SocketAddress getAddress();
	public void connect();
	public void disconnect();
	public boolean isConnected();
	public void send(ByteBuffer buffer);	
	public boolean receive(ByteBuffer buffer);
	
}
